package com.hm.market.dao;

import com.hm.market.domain.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author HM
 * @create 2018/2/27 15:07
 * @desc
 **/
@Mapper
@Repository
public interface AdminMapper {

    /**
     * @author  HM
     * @create  2018/2/27 15:08
     * @params
     * @return admin对象
     * @desc 该方法用于后台管理员登录
     **/
    public Admin selectAdminByUsernameAndPwd(String username,String password);
}
